﻿<UserControl x:Class="SilverTraceCallerDemoApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="*" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        
        <TextBlock Grid.Column="0" Grid.Row="0" Margin="8 8 0 0">Sender Name:</TextBlock>
        <TextBlock Grid.Column="0" Grid.Row="1" Margin="8 8 0 0">Message:</TextBlock>

        <TextBox x:Name="SenderNameTxt" Grid.Column="1" Grid.Row="0" Margin="1" />
        <TextBox x:Name="SenderMessageTxt" Grid.Column="1" Grid.Row="1" Margin="1" AcceptsReturn="True" />

        <Button x:Name="DetouchButton" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2" Width="150" HorizontalAlignment="Left" Content="Install on Desktop" Margin="2" Click="DetouchButton_Click" />
        <Button x:Name="SendMessageButton" Grid.Column="1" Grid.Row="2" Content="Send Message" Width="150" Margin="2" HorizontalAlignment="Right" Click="SendMessageButton_Click" />
        
    </Grid>
</UserControl>
